﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ShoppingCart.ascx.cs" Inherits="Controls_ShoppingCard" %>
<%@ Import Namespace="webapp4U" %>

<table width="185" border="0" cellpadding="0" cellspacing="0" class="photo-frame"
    align="center">
    <tr>
        <td class="topx--">
        </td>
        <td class="top-x-">
        </td>
        <td class="top--x">
        </td>
    </tr>
    <tr>
        <td class="midx--">
        </td>
        <td bgcolor="white" style="padding-left: 6px; padding-right: 6px" align="center">
            <table width="100%" border="0" height="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td bgcolor="#f0f0f0" height="178px" valign="top">
                        <table cellspacing="0" cellpadding="0" width="98%" align="center">
                            <tbody>
                                <tr>
                                    <td style="padding-left: 3px; padding-top:3px;" align="left">
                                        <table width="100%">
                                            <tr>
                                                <td style="font-weight:bold; color:#606060" align="left">
                                                    <%=ResourceManager.GetString("Product_ShoppingCart")%></td>
                                            </tr>
                                              <tr>
                                                <td background="<%=Globals.ImagesUrl()%>m09.gif" height="1" style="background-repeat:repeat-x"></td>
                                            </tr>
                                            <tr>
                                                <td style="padding-top:5px;">
                                                    <a href="<%=Globals.ApplicationPath %>Products/shoppingcart.aspx">
                                                        <img height="17" src="<%=Globals.ImagesUrl()%>m08.gif" width="14" align="absmiddle" border="0">
                                                    </a>
                                                    &nbsp;
                                                    <a href="<%=Globals.ApplicationPath %>Products/shoppingcart.aspx">
                                                        <span style="color:Red"><%=webapp4U.BOL.ShoppingCart.GetShoppingCartCountByUserID() %> </span> 
                                                        <%=ResourceManager.GetString("Product_Items") %>
                                                    </a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="font-weight:bold; line-height:20px; padding-top:5px; color:#606060">
                                                    <%=ResourceManager.GetString("Product_Subtotal") %>: <br />
                                                    <span class="ProductPrice">
                                                        <%=webapp4U.Formatter.FormatMoney(webapp4U.BOL.ShoppingCart.GetSubTotalShoppingCart())%> VNĐ
                                                    </span>
                                                </td>
                                            </tr>
                                             <tr>
                                                <td background="<%=Globals.ImagesUrl()%>m09.gif" height="1" style="background-repeat:repeat-x">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="12">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ch4" style="padding-left: 3px">
                                       <%=ResourceManager.GetString("ChooseYourLanguage") %>:</td>
                                </tr>
                                <tr>
                                    <td height="6">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <a href="<%=Globals.ApplicationPath %>SetLang.aspx?Lang=vi-vn&strURL=<%=Globals.CurrentUrl %>">
                                            <img title=" VietNam " height="15" alt="English" src="<%=Globals.ImagesUrl()%>vn.gif" width="24" border="0"></a>
                                        &nbsp;    
                                        <%--<a href="<%=Globals.ApplicationPath %>SetLang.aspx?Lang=en-US&strURL=<%=Globals.CurrentUrl %>">--%>
                                        <a href="<%=Globals.ApplicationPath %>SetLang.aspx?Lang=en-US&strURL=<%=Globals.CurrentUrl %>">
                                            <img title=" English " height="15" alt="English" src="<%=Globals.ImagesUrl()%>en.gif" width="24" border="0"></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td class="mid--x">
        </td>
    </tr>
    <tr>
        <td class="botx--">
        </td>
        <td class="bot-x-">
        </td>
        <td class="bot--x">
        </td>
    </tr>
</table>